package dk.itu.mmad.activitylifecycle;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class MainActivity extends Activity {

	public static final String TAG_NAME = "lifecycle";
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		Log.i(TAG_NAME, "In onCreate.");
		
	}

	@Override
	protected void onDestroy() {
		super.onDestroy();
		Log.i(TAG_NAME, "In onDestroy.");
	}

	@Override
	protected void onPause() {
		super.onPause();
		Log.i(TAG_NAME, "In onPause.");
	}

	@Override
	protected void onRestart() {
		super.onRestart();
		Log.i(TAG_NAME, "In onRestart.");
	}

	@Override
	protected void onResume() {
		super.onResume();
		Log.i(TAG_NAME, "In onResume.");
	}

	@Override
	protected void onStart() {
		super.onStart();
		Log.i(TAG_NAME, "In onStart.");
	}

	@Override
	protected void onStop() {
		super.onStop();
		Log.i(TAG_NAME, "In onStop.");
	}

}
